package com.qiuling.iot.service;

import com.qiuling.iot.vo.req.UserOwnRoleReqVO;

import java.util.List;

/**
 * @Author：zhangqiang
 * @Description：
 * @Date：Created in 17:08 2020/2/11
 * @Modified By：
 */
public interface UserRoleService {

    List<String> getRoleIdsByUserId(String userId);

    void addUserRoleInfo(UserOwnRoleReqVO vo);

    List<String> getUserIdsByRoleIds(List<String> roleIds);

    List<String> getUserIdsBtRoleId(String roleId);

    int removeUserRoleId(String roleId);
}
